<template>
  <div class="web-page">
    <web-view :src="url"></web-view>
  </div>


</template>

<script>
  import navbar from '@/components/navbar'
  import Core from 'core'
  import global from 'global'

  export default {
    components: {
      navbar
    },
    data () {
      return {
        statusH: global.state.statusH,
        titleH: global.state.titleH,
        url: ""
      }
    },

    onShow () {
      this.url = `${this.$root.$mp.query['url']}?t=${new Date().getTime()}`
    },

    methods: {
      onClickGoBack () {
        Core.Util.goBack()
      }

    }
  }
</script>

<style lang="scss" scoped>

  .web-page {
    width: 100%;
    height: 100%;
    position: relative;
    background: rgb(234, 234, 234);

  }


</style>
